package com.ruoyi.app.service.impl;

import com.alibaba.fastjson2.JSON;
import com.ruoyi.app.mapper.HospitalCaseDMapper;
import com.ruoyi.app.service.HospitalCaseDService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HospitalCaseDServiceImpl implements HospitalCaseDService {
    @Autowired
    HospitalCaseDMapper hospitalCaseDMapper;

    @Override
    public String all() {
        String all = hospitalCaseDMapper.all();
        return JSON.toJSONString(all);
    }
}
